
pkgname=gettext
pkgver=0.19.8.1
pkgrel=6
pkgdesc="GNU internationalization library"
arch=('x86_64')
url="https://www.gnu.org/software/gettext"
license=('GPL')
groups=('base')
depends=('acl' 'gcc-libs' 'glib2' 'libcroco' 'sh' 'libunistring')
options=('!libtool')
source=("https://ftp.gnu.org/pub/gnu/gettext/${pkgname}-${pkgver}.tar.gz")
md5sums=('97e034cf8ce5ba73a28ff6c3c0638092')

build() {
  cd ${pkgname}-${pkgver}

  ./configure --prefix=/usr --enable-csharp
  make
}

package() {
  cd ${pkgname}-${pkgver}
  
  make DESTDIR=${pkgdir} install
}

